import request from '@/utils/request'

export function getDetail(params = {}) {
  return request({
    url: '/company/detail',
    method: 'POST',
    data:params
  }).then(({
    data
  }) => data)
}
export function update(params) {
  return request({
    url: '/company/edit',
    method: 'POST',
    data:params
  }).then(res => res)
}
